<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Page Title</title>
</head>
<body>
    <form action="http://localhost:8080/get" method="get">
        用户：<input type="text" name="user"><br>
        密码：<input type="password" name="pass"><br>   
        <input type="submit" value="GET提交">     
    </form>
    <form action="http://localhost:8080/post" method="post">
        用户：<input type="text" name="user"><br>
        密码：<input type="password" name="pass"><br>   
        <input type="submit" value="POST提交">     
    </form>
</body>
</html>